package com.rd.student.wulian.wanggaobo.day0728.practice01;
import java.util.Scanner;

public class Convert {
    public static void main(String[] args) {
        double min;
        double sec;
        Scanner sc = new Scanner(System.in);
        min = sc.nextDouble();
        sec = min*60;
        System.out.println(sec);
    }
}
